<template>
    <div>
        username <input type="text" :value="value" @input="$emit('input', $event.target.value)"> {{ value }}
    </div>
</template>
<script>
export default {
    props: ['value']
}
</script>
<style></style>